Dynomotion

Group: DynoMotion Message: 360 From: Peter Tannoury Date: 5/6/2010
Subject: KFLOP and Step/Dir Problem
Hello Dear Tom,
thanks for the time you spent with me on the phone this morning,
i made tests for pulses signal and leadshine stepper drive opto consumption, all are not stopping the KFLOP generating pulses.
so today i download your new version of Kmotion 4.20 and i used another KFLOP card to check if the previous card maybe damaged, the result  was same "no pulses on output generator 0 and also out 1"
so i connect my scope and i tried many values combination but using a logical axes configuration as shown in attached picture, when i pressed MOVE, the results become little bit good, motors are stepping 3 steps Forward and then back 3 steps backward, this happening only when i increased profile values as shown in the attached picture,
is there any thing i can do to have a fully functional profile?
second picture show's you the scope measurement of the generated pule waveform

by the way, if this may help:
at startup and using standard profile parameters, i removed drives and i just installed a pull-up resistor and i test outputs and there is also no signal output, just you can see only one pulse on the scope screen


Waiting your advice

Regards
Peter

  @@attachment@@
Group: DynoMotion Message: 361 From: Tom Kerekes Date: 5/6/2010
Subject: Re: KFLOP and Step/Dir Problem [2 Attachments]
Hi Peter,
 
Well the scope proves that the pulses are really there.  Since your motor doesn't move the drive must not like the voltage levels or the pulse widths of the pulses.
 
I don't understand why you seem to think that there are no pulses.  Your scope clearly shows the pulses are there.  The scope trace looks very ugly because your scope setting is too slow to see the 2us pulses.  So you end up just getting random samples of the signal high and low.  Throughout the motion as the frequency increases the scope is more likely to catch the pulse low.    Your profile is set very fast.  The pulses are going to 600KHz.  At 600KHz there is less time than 2us per pulse.  If you have the pulse width at the default pulse width of 2us the signal will remain low as seen in the scope plot.
 
Did you read my last post?  I will repeat myself. 
 
I think KFLOP is generating the pulses.  But they probably are too narrow (2us), and not the proper voltage level (scope shows 0.1 to 3.5V).
 
Try adding a 500ohm pull up resistor to 5V to get the 3.5V to be higher.  Also increase the pulse width to 4us.
 
I don't understand why you only see pulses on the scope with your drive connected, but not with a pullup resistor.
 
Thanks
TK